package com.onLineCar.openFeign;

import com.onLineCar.common.core.domain.Result;
import com.onLineCar.vehicle.entity.request.ApiVehicleInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "onLineCar-manages")
public interface ManageRPCFeign {

    @PostMapping("/api/vehicle-info/batchQueryVehicleInfo")
    public Result<List<ApiVehicleInfoDto>> queryVehicleInfoByVehicleIds(@RequestBody List<Integer> vehicleIds);

}
